Skip to content

Conversation

tylerslaton
Copy link
Contributor

No description provided.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the LangGraph platform tests by separating Python and TypeScript tests into distinct test suites and creating dedicated TypeScript test files for LangGraph features.

  • Created seven new TypeScript test files under langgraphJSTests directory covering various LangGraph features
  • Modified CI workflow to split LangGraph tests into separate Python and TypeScript test suites
  • Organized tests by feature domains like tool-based UI, subgraphs, shared state, predictive updates, and human-in-the-loop

Reviewed Changes

Copilot reviewed 8 out of 15 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
toolBasedGenUIPage.spec.ts New TypeScript tests for haiku generation feature
subgraphsPage.spec.ts New TypeScript tests for multi-agent travel planning with supervisor coordination
sharedStatePage.spec.ts New TypeScript tests for shared state between UI and chat components
predictiveStateUpdatePage.spec.ts New TypeScript tests for predictive state updates with approval/rejection flows
humanInTheLoopPage.spec.ts New TypeScript tests for human-in-the-loop planning workflows
agenticGenUI.spec.ts New TypeScript tests for agentic generative UI features
agenticChatPage.spec.ts New TypeScript tests for conversational chat with memory and background changes
dojo-e2e.yml CI workflow changes to separate LangGraph Python and TypeScript test suites

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


// FEATURE TEST: Test interrupt pause behavior - flow shouldn't auto-proceed
await page.waitForTimeout(3000);
// await expect(page.getByText(/hotel.*options|accommodation|Zephyr|Ritz-Carlton|Hotel Zoe/i)).not.toBeVisible();
Copy link
Preview

Copilot AI Sep 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commented-out assertion should be removed or properly implemented. Commented code reduces maintainability and creates confusion about the intended behavior.

Suggested change
// await expect(page.getByText(/hotel.*options|accommodation|Zephyr|Ritz-Carlton|Hotel Zoe/i)).not.toBeVisible();
await expect(page.getByText(/hotel.*options|accommodation|Zephyr|Ritz-Carlton|Hotel Zoe/i)).not.toBeVisible();

Copilot uses AI. Check for mistakes.

@tylerslaton tylerslaton merged commit 24c5247 into main Sep 23, 2025
18 checks passed
@tylerslaton tylerslaton deleted the tyler/lgjs-tests branch September 23, 2025 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant